/*
 * Desenvolvido para a disciplina Laboratório de Estrutura de Dados
 * Curso de Bacharelado em Ciencia da Computacao
 * Departamento de Sistemas e Computacao
 * Universidade Federal de Campina Grande
 *
 * Professor: Marco Aurelio Spohn
 * Monitor: Epitacio Miguel
 *
 */

import junit.framework.TestCase;

public class DominationSetTest extends TestCase {
	public void testDominatingSets() {
		assertEquals("1 3 0", new DominationSet("1 2 1 7 2 4 3 4 3 5 6 5 0 6").toString());
		assertEquals("2 4", new DominationSet("6 4 4 5 4 3 5 2 5 1 2 1 2 3").toString());
		assertEquals("1", new DominationSet("1 3 3 5 5 1").toString());
		assertEquals("1 3", new DominationSet("1 2 2 3 3 4 4 1").toString());
		assertEquals("2 5 8", new DominationSet("1 8 1 2 1 6 2 9 2 3 2 4 6 5 7 5").toString());
		assertEquals("0 4 1", new DominationSet("1 2 2 4 1 3 3 7 7 5 4 5 4 6 7 0 0 8 0 9").toString());
		assertEquals("7 4 1 8 9", new DominationSet("2 7 1 2 2 4 1 3 3 7 7 5 4 5 4 6 7 0 0 8 0 9").toString());
	}
}